using System.Collections;
using System.Collections.Generic;
using BehaviorDesigner.Runtime;
using BehaviorDesigner.Runtime.Tasks;
using QFramework;
using UnityEngine;
using DG.Tweening;

namespace HareGame
{
    [TaskCategory("引导")]
    public class SetTrue : Action
    {
        public string Key;

        public override TaskStatus OnUpdate()
        {
            GameEntry.GameData.SetBool(Key, true);
            return TaskStatus.Success;
        }
    }
}